#ifndef PRETREATMENT_H
#define PRETREATMENT_H
#include "MethodContainer.h"

class Pretreatment
{	
protected:
	MethodContainer *m_pMethods;
	BYTE *m_pBmpValue;
	int m_width;
	int m_height;
public:
	Pretreatment(MethodContainer *pMet)
		:m_pBmpValue(pMet->m_pBmpValue),m_width(pMet->m_width),m_height(pMet->m_height),m_pMethods(pMet)
					{};
	Pretreatment(){}
	void Init(MethodContainer *pMet)
	{
		m_pBmpValue=pMet->m_pBmpValue;
		m_width=pMet->m_width;
		m_height=pMet->m_height;
		m_pMethods=pMet;
	}
	virtual void Run() = 0;
	virtual ~Pretreatment(){};
};

#endif